home *** CD-ROM | disk | FTP | other *** search
- head 1.2;
- access;
- symbols
- BETA:1.2;
- locks; strict;
- comment @ * @;
-
-
- 1.2
- date 91.05.23.21.32.34; author paul; state Exp;
- branches;
- next 1.1;
-
- 1.1
- date 91.05.22.19.22.15; author paul; state Exp;
- branches;
- next ;
-
-
- desc
- @@
-
-
- 1.2
- log
- @Changes for permanent incorporation into the sendmail source directory.
- @
- text
- @#ifndef _FLOCK_EMULATE_INCLUDED
- #define _FLOCK_EMULATE_INCLUDED
-
- /* These definitions are in <sys/file.h> on BSD 4.3 */
-
- /*
- * Flock call.
- */
- #define LOCK_SH 1 /* shared lock */
- #define LOCK_EX 2 /* exclusive lock */
- #define LOCK_NB 4 /* don't block when locking */
- #define LOCK_UN 8 /* unlock */
-
- #endif /* _FLOCK_EMULATE_INCLUDED */
- @
-
-
- 1.1
- log
- @Initial revision
- @
- text
- @a3 8
- #include <fcntl.h>
-
- #if defined(F_SETLK) && defined(F_SETLKW)
- # define FCNTL_FLOCK
- #else
- # define LOCKF_FLOCK
- #endif /* F_SETLK && F_SETLKW */
-
- @
-